package guda.sqladmin.dao.domain;

import java.util.Date;

public class TableFieldDO {
    private Long id;

    private Long tableId;

    private String fieldName;

    private String fieldType;

    private Integer notNull;

    private String fieldDesc;

    private String defaultValue;

    private Date gmtCreate;

    private Integer fieldLength;

    private Byte isDeleted;

    private Byte isKey;

    private Byte isAutoIncre;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTableId() {
        return tableId;
    }

    public void setTableId(Long tableId) {
        this.tableId = tableId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName == null ? null : fieldName.trim();
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType == null ? null : fieldType.trim();
    }

    public Integer getNotNull() {
        return notNull;
    }

    public void setNotNull(Integer notNull) {
        this.notNull = notNull;
    }

    public String getFieldDesc() {
        return fieldDesc;
    }

    public void setFieldDesc(String fieldDesc) {
        this.fieldDesc = fieldDesc == null ? null : fieldDesc.trim();
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue == null ? null : defaultValue.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Integer getFieldLength() {
        return fieldLength;
    }

    public void setFieldLength(Integer fieldLength) {
        this.fieldLength = fieldLength;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Byte getIsKey() {
        return isKey;
    }

    public void setIsKey(Byte isKey) {
        this.isKey = isKey;
    }

    public Byte getIsAutoIncre() {
        return isAutoIncre;
    }

    public void setIsAutoIncre(Byte isAutoIncre) {
        this.isAutoIncre = isAutoIncre;
    }
}